package set;

import java.util.HashSet;
import java.util.Set;

public class SetTest {

	public static void main(String[] args) {
		Set<Object> set = new HashSet<Object>();
		byte b = 1;
		int i = 1;
		long l = 1;
		set.add(i);
		set.add(b);
		set.add(l);
		System.out.println(set.size());
		set.forEach(v -> syso(v));
	}

	private static void syso(Object v) {

		System.out.println(v.getClass());
		System.out.println(v.hashCode());

	}

}
